﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FriendlyFire
{
    /// <summary>
    /// Class containing our enum.
    /// </summary>
    [Serializable]
    class SearchForTypes
    {
        public enum FileType
        {
            Audio,
            Video,
            Archives,
            Documents,
            Custom,
            Anything
        }
    }
    /// <summary>
    /// Struct that contains all the data used
    /// for the search query.
    /// </summary>
    [Serializable]
    public struct SearchFor
    {
        string query;
        string customType;
        List<SearchForTypes.FileType> lookAt;

        public SearchFor(string q, string c)
        {
            query = q;
            customType = c;
            lookAt = new List<SearchForTypes.FileType>();
        }

        public string Query
        {
            get { return query; }
            set { query = value; }
        }

        public string CustomType
        {
            get { return customType; }
            set { customType = value; }
        }

        internal List<SearchForTypes.FileType> LookAt
        {
            get { return lookAt; }
            set { lookAt = value; }
        }
    }
}
